package cn.springcloud.fix.server.service;

import cn.springcloud.fix.common.core.base.HeaderInfo;
import cn.springcloud.fix.server.api.message.request.*;
import cn.springcloud.fix.server.api.message.response.*;

public interface IMessageService {

    MessageAddResponse addMessage(MessageAddRequest request, HeaderInfo headerInfo);

    MessageDeleteResponse delMessage(MessageDeleteRequest request, HeaderInfo headerInfo);

    MessageGetByIdResponse getMessageById(MessageGetByIdRequest request, HeaderInfo headerInfo);

    MessageListResponse messageList(MessageListRequest request, HeaderInfo headerInfo);

    MessageUpdateResponse updateMessage(MessageUpdateRequest request, HeaderInfo headerInfo);
}
